home *** CD-ROM | disk | FTP | other *** search
/ Travel to Space / Travel to Space.iso / dosview / pve.doc < prev    next >
Text File  |  1995-01-04  |  42KB  |  878 lines

  1. Documentation for PV.EXE version 2.50  04.01.95 W.Wiedmann
  2. -----------------------------------------------------------
  3.  
  4. Contents:
  5. 1. What PV is able to do:
  6.  1.1 Requirements
  7. 2. Image processing
  8. 3. Converting
  9. 4. Details of the most common Image formats
  10.  4.1 File formats able to be read by PV
  11.  4.2 Image formats able to be generated by PV
  12.  4.3 Adapting unknown formats by the 'define Header' function:
  13. 5. Animation, Slidefiles
  14. 6. Configuring the graphic adapter
  15. 7. How to use PV, menu keys and command line options.
  16. 8. Installation, Registration
  17. 9. Trademarks , Disclaimer
  18.  
  19.  
  20. 1.What PV is able to do:
  21. ------------------------
  22.  
  23. PV is used to display and convert Images with different File formats on a
  24. AT-compatible machine. You can import images from different sources and
  25. export it to other applications and modify it with some image processing
  26. functions. PV can do animations controlled by slidefiles and it supports
  27. all common color graphic adapters. It imports and exports the following
  28. imagefiles:
  29.  
  30. - JPG         Baseline JPEG 8R8.
  31. - TIF         IBM and Macintosh, image processing and DTP like Pagemaker
  32.           Designer, Photostyler.
  33. - TGA         Targa supporting software.
  34. - PCX         Paintbrush and other paint software.
  35. - PIC         PcPaint, Pictor.
  36. - SCx,RIX     Colorix, Winrix,  RIX demo Present.
  37. - CUT         Dr Halo, Halovision, some scanners.
  38. - LBM,IFF     Deluxe Paint both IBM and Commodore.
  39. - GIF         Autodesk Animator, VPIC, VGIF, CSHOW, GWS and others.
  40. - BMP,RLE,DIB Windows 3.0,3.1 and OS/2.
  41. - IMG,DTA     Kontron image analysis, ZEISS DSM-series of digital microscopes.
  42.  
  43. The following file formats can be imported :
  44. - PCD         Kodak Photo CD Base format 768x512 and 512x768.
  45. - CVP         Passport image photo unit (Canon) 512x512 24Bps.
  46. - JPG,JIF     Baseline JPEG 9R6 (Image Alchemy 1.0-1.5), Lossless JPEG.
  47. - JTF         TIFF with JPEG compression.
  48. - CEG         Edsun Continuous Edge Graphics (Modes d, f).
  49. - GEM-IMG,XIMG   GEM and Ventura Publisher up to 24Bps, Atari ST.
  50. - MSP         MS-Paint, Windows 2.0.
  51. - MAC         Macintosh-Paint.
  52. - PIC         Macintosh PICT in 1,2,4,8,24 BPS.
  53. - WPG         Raster graphic files from Word Perfect.
  54. - ICO         Windows Icons.
  55. - PMC         A4TECH Scanner.
  56. - SFI         SIS Framegrabber.
  57. - EPS         Encapsulated Postscript with raster data.
  58. - RAS         Sun raster file uncompressed.
  59. - VI          Jovian.
  60. - DCX         FAX Multiple PCC File Format.
  61. - FX*,FAX,QFX,BFX,
  62.   RIC,WFX,XFX FAX -formats CCITT Group 3
  63. - IM          KO-23 satellite with 109 Block error correction.
  64. - SGF         Starwriter by Star Divison Hamburg
  65. - SAT         Eumetsat Wettersatellitenbild (BTXSAT Austria)
  66. - SCR         Word capture
  67. - CDR,CCH     Corel draw Icon
  68. - SKD         Autosketch Icon
  69. - RAW
  70. - PNM         UNIX Portable Bitmap 1,8,24 Bps (Jef Poskanzer).
  71. - ACB,BBM     IFF Brushes and ACBM Files.
  72. - DAT         Framegrabber Video 1000/2000  Fricke/Berlin.
  73. - FRM         Echolab
  74. - FLM         Uncompressed files from the Screenmachine  FAST-Electronic.
  75. - VM          files from a Videomachine  FAST-Electronic.
  76. - ART         First Publisher ART
  77. - BSG         Fontasy
  78. - PCP         Atari
  79. - TPI         Turbo Pascal
  80.  
  81. - AVI         Video for Windows until 320x200x8Bps RLE too, 160x120x16/24 Bps
  82. - FLI         Autodesk Animator FLIC's run in realtime. Quickfli, Aaplay.
  83. - FLC         Autodesk Animator Pro FLIC's.
  84. - FLX         Animator FLIC's with Hicolor (Hicolor VESA VGA required)
  85. - ANI         The first image of IFF animation files.
  86. - DL          DL animations run in realtime.
  87. - GL          Sequential overview of the images included in GRASP files.
  88.  
  89. - TXT,DOC,BAT,HLP   Text files and block graphics are shown in a size 128x54.
  90. - ANS         ANSI 80x25
  91. - MOD         Amiga music files can be played on PC-Speaker or Soundblaster.
  92.           For Soundblaster there must be a 'SET BLASTER=' command in
  93.           the autoexec.bat (The MOD Player is based on a PD OBJ file by
  94.           Marc Cox)
  95.  
  96. You can call a batchprocess depending of the fileextension of any filetype.
  97. Yust make a EXT.BAT batchfile for the extension EXT. With that you can call
  98. other viewers or do anything else. E.g. with ZIP.BAT containing PKUNZIP -v %1
  99. you can wiew the content of ZIP packed files. With a ANS.BAT you can show
  100. true ANSI sequences by calling TYPE %1  and so on.
  101.  
  102. PV prints at LPT1 with HP DJ 500C, Mitsubishi CP200 termosublimation.
  103.  
  104. PV recognizes the image files by the header pattern and/or the file extension.
  105. It is also possibile to import unknown file formats by a 'Define-Header'
  106. operation if you have some details - e.g. the image size and the colors.
  107. The file selection menu allows easy selection of files.  Some of the functions
  108. can be predefined by command line parameters and can also be changed by the
  109. menu.
  110.  
  111. A help system is available by F1 key.
  112.  
  113. PV is written in Turbo Pascal 6.0. Most of the routines that access the
  114. display adapters and some of the decompressions ( GIF,TIFF,JPEG,SCx,.. ) are
  115. written in assembler code and offer high speed performance. I included many
  116. undocumented and not published file formats (SCX compressed, FLI, GL) to PV.
  117. It takes a lot of time to analyse the difficult file structures, but it
  118. makes PV a compact universal display utility with incomparable features.
  119.  
  120.  
  121. 1.1 Requirements
  122. ----------------
  123. You need an AT compatible computer with an EGA, VGA, SuperVGA or 8514/A
  124. compatible graphic adapter. Your computer should have a hard disk and at least
  125. 512KB RAM. If you don't have a graphic adapter you are not able to display the
  126. images but you can convert them into other file formats with variable image
  127. sizes.
  128. PV supports SuperVGA with ATI, Paradise, Ahead, Video7, OAK, Chip &
  129. Technology, ET3000/4000 and Trident 8900 chipsets in nearly all resolutions
  130. up to 1024x768x256.
  131. PV is generally successful in detecting the chipset, but you can also use
  132. command line parameters to configure PV to the display functions.
  133. PV works with very large images up to 10240x10240. PV shows an overview or
  134. extracts a section if the image can not be completely displayed.
  135. If you have enough XMS memory you can scroll around the whole picture.
  136. All VGA's are supported by two special resolutions 360x512x256 and 720x512x16.
  137. VGA's with the new VESA conventions are supported via the VESA-calls.
  138. 8514/A, Tiga and XGA often offer a AI interface. If it is installed it is
  139. automatically supported.
  140. The CEG-multicolor DSP is supported for the use with CEG images but you can
  141. also display and convert them even without this feature.
  142. ATI ULTRA 2MB with MACH32 Chip is supported with 32768 colors and 65536 colors
  143. (5-6-5 mode) and truecolor.
  144. The HiColor RAM DAC is supported with 32768 color mode for the use with any
  145. image that contains more than 256 colors.
  146. Many of the PV functions are supported by a MS compatible mouse.
  147.  
  148.  
  149. 2.Image processing
  150. -----------------
  151. You can use image processing with the displayed images. It is an advantage
  152. therefore to have an adapter that allows you to process the images without
  153. loss of resolution or colors. For example you need a display mode of
  154. 800x600x256 to process an image of size 512x512x256. If you choose a
  155. display mode with 16 colors you reduce the image permanently to 16 gray levels
  156. (or a 16 color dithered image), when you restore it (WYSIWYG).
  157. If you have an EGA you cannot use functions like invert, contrast, saturation,
  158. filter processing or other color operations.
  159. With plain VGA you can perform:
  160. - 6 fixed and one user definable 3x3 Convolution (256 color mode required).
  161. - Invert Color and/or Intensity.
  162. - Flip X and Y.
  163. - Rotate.
  164. - Dithering.
  165. - Color/Gray conversion.
  166. - Zoom and contract by divisions of 2,4,8,.. independent for X and Y.
  167.   (In Conversion mode any ratio is possible for X and Y).
  168. - Brightnes, contrast, color intensity and saturation for each color component
  169.   R,G,B or all together.
  170. - Define an image section for further processing or conversion.
  171. - Create and run an animation with different images or flics.
  172. - Store in a variety of file formats.
  173.  
  174. PV does not automatically preserve the aspect ratio of an image during
  175. manipulation. It may therefore be necessary to use convert mode to force the
  176. particular aspect ratio desired.
  177.  
  178.  
  179. 3.Converting
  180. ------------
  181. You can convert images with up to 10240 by 10240 by 256 lossless if you
  182. switch to pure conversion mode by the 'O' key or /c command line parameter.
  183. Images with more than 256 colors or shades are reduced to an optimised set
  184. of 256 colors. If the destination fileformat supports 24 Bit the image is
  185. stored 24 Bit if required. The maximum size for converting 24 Bit images is
  186. limited to 3400 pixel per line.
  187. The pure conversion and color reduction operations require XMS memory.
  188. If not available PV requires temporary working space on the hard disc
  189. (drive c: assumed). You can greatly speed up these conversions by
  190. providing a suitably sized RAMDISK. (include in your environment setting
  191. the line 'TEMP=D:\' assuming that D is your RAMDISK drive letter).
  192. If you get a disk error message, check that you have correctly defined the
  193. environment path for your RAMDISK.
  194. The size of the temporary file depends on the source image size. For example
  195. a 24Bps TIFF conversion to 640x480 requires about 1MB.
  196. You can set a variable size the destination image should have. It may
  197. vary from 8 to 10240 pixel in any dimension.
  198. The converted image has the same name with the appropriate file extension
  199. and it is stored in the same directory. If you wish, you can force a new
  200. destination path at the command line  .. eg .. PV *.* C:\IMAGES\
  201.  
  202.  
  203. 4.Details of the most common Image formats
  204. ------------------------------------------
  205.  
  206. Problems with images containing high color numbers  (e.g. JPEG):
  207.  
  208.  All file formats that contain more than 256 colors are reduced to 256 colors
  209.  when you display or convert them. This is done by a complex algorithm that
  210.  classifies all color components into 16 steps and uses the most common color
  211.  combinations and applies dithering to achieve the impression of a virtual
  212.  higher color resolution. This may cause some images to look a little noisy,
  213.  especially images displayed in lower resolution (e.g. 320x200).
  214.  
  215.  You can convert all file formats with up to 256 colors into all others
  216.  without losing quality except for JPEG images.
  217.  If you convert a GIF file with 256 colors into a JPEG file, the JPEG file
  218.  will never have the same colors and may look a little noisy. This is why the
  219.  image is converted from 256 colors into a true color YUV colorspace. Then
  220.  you just have the intensity and a color information with half of the
  221.  resolution of the intensity information (4:2:2). The YUV components are
  222.  transformed with a DCT and then quantised. These processes are optimised to
  223.  achieve a high file compression by losing information. If you display the
  224.  JPEG image the reverse operations are dequantisation, IDCT and YUV to RGB
  225.  conversion. This and the reduction of RGB to 256 color when you display it
  226.  leads to a minor quality of color images. The loss of quality is nearly
  227.  invisible if you convert greyscale images into JPEG and back.
  228.  
  229.  Other programs like JPG2GIF & GIF2JPG (by Handmade Software) use a special
  230.  kind of JPG and GIF mixtured file that does not conform to any proposed JPEG
  231.  standard. These files contain GIF fragments and the original GIF color table.
  232.  So they achieve a higher quality when converting to JPG and back.
  233.  I do not intend to support this special JPG creation in PV. PV simply
  234.  extracts the JPEG block out of such image files and displays it. The
  235.  appearance may therefore sometimes look fragmented.
  236.  
  237. 4.1:PV reads the following file formats:
  238.  
  239. a.) DTA,IMG
  240.     DTA,IMG is a common extension used for image files generated by ZEISS
  241.     electron microscopes. IMG is also a common extension for Kontron
  242.     image analysis. Both formats are comparable apart from some special
  243.     features. Kontron might have more than one image in one file but it
  244.     does not include a color table. PV shows the first image if it contains
  245.     more than one.
  246.     If there is no color table included in the file, PV scans for a *.COL
  247.     file that contains 768 ASCII values representing the color values.
  248.     IMG from a DSM962 has an aspect ratio 1:1.25. So you should convert a
  249.     512x512 to a 640x512 first if you want to display the correct ratio.
  250.  
  251. b.) IFF - Standard (LBM)
  252.     - PBM     used by PC's
  253.     - ILBM    used by Commodore
  254.     - ACBM    an old format used by Commodore
  255.     PV loads all of them with 1...8 Bps whether compressed or not.
  256.     With ILBM sometimes there is 24 Bps used for file interchange. PV loads
  257.     this too. Commodore files often have specific CAMG-Chunks for the
  258.     HAM and Halfbrite modes. PV knows this and regenerates the color
  259.     information to a best fit color table.
  260.  
  261. c.) CUT and PAL
  262.     CUT is used by DR HALO to generate independent images as a clipboard.
  263.     PAL contains the appropriate color table. It should have 256 color entries
  264.     (Filesize = 2048) to be used with PV. CUT does not use a recognition
  265.     pattern in the header, so PV recognizes it by the extension CUT.
  266.  
  267. d.) GIF87a .. GIF89a Standard
  268.     Used by many machines (IBM, Macintosh, Atari, Commodore) with many
  269.     applications. PV loads images with color tables up to 256 colors.
  270.     GIF allows images with more chained image parts. PV loads the first one.
  271.     The GIF extension block is ignored.
  272.  
  273. e.) TIFF 2a Standard
  274.     TIFF allows many different variations of storing image data. I am not
  275.     aware of a program anywhere that correctly reads all TIFF images. PV
  276.     loads the most common ones.
  277.     - IBM and Macintosh TIFF.
  278.     - Orientation = 1,5.
  279.     - Photometric Interpret. = 0,1,2,3,6 (bilevel,gray,invers,RGB,Palette,
  280.           YCbCr).
  281.     - Planar configuration = 1,2.
  282.     - Predictor = 1,2.
  283.     - Bits per Sample = 1,2,4,8,24,32.
  284.     - Compression = 1,2,3,4,5,6,32771,32773,32900,32901
  285.       (uncompressed,Huffman,FAXG3,FAXG4,LZW,JPEG,PackBits,PICIO,SGI-RLE).
  286.     In combination with RGB and/or LZW there are 24 Bps available.
  287.     With LZW the Predictor tag is supported.
  288.     Planar configuration 2 is only in conbination with 1,2 Bps available.
  289.     Default is Planar configuration 1.
  290.     The Planar configuration 2 might have problems if the Strips of the
  291.     color components are not stored one after another.
  292.  
  293. f.) GEM IMG, XIMG - Format
  294.     Used by IBM and Atari in programs like GEM Paint, Ventura Publisher.
  295.     The IMG format does not include any color table so there might be
  296.     different colors between the GEM IMG based softwares. PV supports only
  297.     RGB tables, if there is a color table within a XIMG.
  298.  
  299. g.) RIX SCx Format
  300.     PV does up to 8Bps SCI,SCQ,SCR,SCF,SCP images, whether they are compressed
  301.     or not. It also loads uncompressed RIX with 15 and 24 Bps.
  302.  
  303. h.) PCX,PCC Format
  304.     PV knows those used by versions 1 to 4 plus Paintbrush and others.
  305.     It supports 1...8 Bps in plane or Pixel coding with or without color table
  306.     and also 24 Bps.
  307.  
  308. i.) PIC Format
  309.     PIC is often used as an extension. Here I am referring to the format used
  310.     by PcPaint and Pictor. PV also supports the Macintosh PICT format in
  311.     1,2,4,8 Bps. This can often have the extension PIC.
  312.  
  313. j.) BMP Format
  314.     PV loads Windows and OS/2 BMP with 1,2,4,8,24 Bps. 24 Bps images are
  315.     reduced to 4096 colors and optimized to a 256 color table.
  316.     PV supports RLE 1,2,4,8 compression. RLE 1,2,4 will not be loaded
  317.     correctly if the Runs and Strings are not packed to Byte borders.
  318.  
  319. k.) TGA Standard
  320.     PV loads images with 8,16,24 and 32 Bps. In the case of 32 Bps the
  321.     so called alpha value is ignored. TGA RLE compression is supported.
  322.     RGB images are reduced to 4096 colors and optimized to a 256 color table.
  323.     8 Bit images with or without color tables are also loaded.
  324.     Images with upsidedown image data are loaded from bottom to top.
  325.  
  326. l.) JPEG Standard JFIF 8R8,9R6
  327.     PV knows the sequential Baseline JPEG for color images with YUV
  328.     (H1:1:1,H2:1:1,H4:1:1,V1:1:1,V2:1:1) and Grayscale images with pure Y.
  329.     PV also loads spatial DPCM with 8 Bps and Predictor 0 and 1.
  330.     Restart marker or other markers within the scan are ignored.
  331.     Problems with other JPG software:
  332.     -Fast's Screenmachine also offers a JPG compression. But this seems
  333.      unloadable with PV and other JPEG capable programs like Image Alchemy.
  334.      I think they scrambled the compressed data incorrectly. They also should
  335.      have the suggested APP0 marker with JFIF recognition.
  336.      With the introduction of Screenmachine II (1993) it is possible to make
  337.      JFIF compatible JIF Files.
  338.     -Image Alchemy, GIF2JPG, JPG2GIF (Handmade Software products) above V1.41
  339.      do not conform to JPEG. They use a special mixture of JPEG/GIF, but you
  340.      can force them to do true JPEG by optional parameter (-j). Alchemy offers
  341.      an arithmetic coding (-ja). PV does not support this yet.
  342.     -VTCOMPRESS is a Windows based software distributed by STEMMER Munich.
  343.      Be sure you generate a JFIF file format. It is possible to make a *.JPG
  344.      file which does not conform to JFIF file format. All tables and
  345.      parameters are not within the JPG file, so it is impossible to
  346.      reconstruct the image data.
  347.     PV tries to load files with JPG extension even if they are not JFIF.
  348.     PV starts with a default table and parameter set proposed in the 8R8
  349.     Draft. So if some JPG software does include this, there is a chance of
  350.     decoding it. The minimum requirement therefore is the complete SOS marker
  351.     'FF DA'.
  352.  
  353. m.) WPG Word Perfect
  354.     PV supports raster graphics with 1...8Bps. WPG may include vectorized
  355.     images. PV does not support this.
  356.  
  357. n.) EPS Encapsulated Postscript
  358.     PV supports EPS with 1,2,4,8,24Bps. Some EPS include a Tender with a
  359.     reduced TIFF image and many EPS picture readers use just that. Not so PV.
  360.     PV uses the Postscript data and tries to interpret the image descriptions.
  361.     This sometimes may not work, in this case you can enter the right
  362.     parameters by the 'define-header'- function (4.3).
  363.  
  364.  
  365. 4.2:PV generates following image formats:
  366.  
  367. a.) Kontron IMG format and ZEISS DSM format.
  368.     The parameters contained in the header of ZEISS images will get lost.
  369.     You get Kontron compatible images if you convert to monochrome images or
  370.     give the 'H0' to store the data without monocrome conversion and without
  371.     color table.
  372.  
  373. b.) TGA Standard
  374.     PV makes 8Bps Targa uncompressed with or without color table. If you have
  375.     a source image with more than 256 colors PV makes a 24 bit true color
  376.     image in the conversion mode.
  377.  
  378. c.) IFF Standard
  379.     ILBM uncompressed with 8Bps for IBM format and ILBM uncompressed with
  380.     5 Bps for Grayscale images and 6 Bps color images with HAM for the
  381.     Commodore Amiga ("H2"). You can load all Deluxe Paint versions.
  382.     Remember that Amigas use 640x512x64 or 320x512x4096.
  383.  
  384. d.) CUT and PAL
  385.     8 Bsp CUT file with 256 color PAL file.
  386.  
  387. e.) GIF87a  Standard
  388.     1..8 Bps GIF file with color table. 'H4' tries a higher compression rate
  389.     but it takes a long time.
  390.  
  391. f.) TIFF Standard
  392.     IBM and Macintosh 1,2,4,8,24 Bps uncompressed ( compression = 1).
  393.     Grayscale images have a Photometric interpr. = 0 and Color images have a
  394.     color table and Photometric interpr. = 3. If you have a source image with
  395.     more than 256 colors PV makes a 24 bit true color image in the conversion
  396.     mode.
  397.  
  398. g.) RIX SCX
  399.     8 Bps RIX file uncompressed with color table.
  400.  
  401. h.) PCX Standard
  402.     8 Bps Pixel coded loadable with Paintbrush 4, 4+, Windows 3.0 Paintbrush.
  403.  
  404. i.) PIC format
  405.     8 Bps compressed for Pictor, PcPaint.
  406.  
  407. j.) BMP format
  408.     8 Bps BMP for Windows 3.0 uncompressed or 8 Bps RLE compressed. If you
  409.     have a source image with more than 256 colors PV makes a 24 bit true color
  410.     image in the conversion mode.
  411.  
  412. k.) JPG format
  413.     PV generates a sequential baseline JPEG (4:2:2 or gray) conforming to the
  414.     8R8 proposed JFIF File format.
  415.     For natural tone images you can achieve compression ratios up to 1:5 or
  416.     1:10 for 'HJ' relative to an uncompressed grey or color table image. The
  417.     ratio can be up to 1:20 relative to RGB 24Bps uncompressed.
  418.  
  419. 4.3:Adapting unknown formats by the 'define Header' function:
  420.  
  421. If PV does not recognize the selected file as a image file it automatically
  422. switches to the define header function. You can also achieve this by the 'u'
  423. key or the /u command line parameter. With this function you can see or change
  424. elementary image parameters and you have the chance to import various other
  425. kinds of images.
  426.  
  427. First you are requested weather you really want to define the parameter [Y] or
  428. to display it as Text [T]. any other key aborts and returns to the menu.
  429.  
  430. Eg  you have an image file with a size of 262944 bytes and you know it is a
  431. 512x512 8Bps uncompressed rastered grey scale image. You can try:
  432.  
  433. Start of body: 800   ( 262944 - 512x512 = 800 ,if the header starts at 0 ),
  434. X-Size: 512          ( allowed 1..10240 )
  435. Y-Size: 512          ( allowed 1..10240 )
  436. Bit/Pix: 8           ( allowed 1..8,24 )
  437. Pixelmap [Y]         ( planemap is used by some screen captures for CGA,EGA
  438.                but the default and most common is Pixelmap )
  439. Upside down [N]      ( E.g. TGA and TIFF can reverse bottom and top but
  440.                the most common (& default) is top to bottom method )
  441. Start of color table:( type ENTER if you think there is no color table or give
  442.                the start address of the table in the file. The table
  443.                values are expected to be in the order r0,g0,b0,r1,.. )
  444. Bit/color value: 8   ( most color tables use 8 Bit (255 = white) )
  445. Color: [N]           ( 'N' means greyscale, 'Y' means Pseudo color or using
  446.                the color table if the address has been defined )
  447.  
  448. There is possibily to define a special fileformat by a *.HDR file. The file
  449. has the same name as the extension of the fileformat and must be stored in
  450. the same or the PV directory. The file can be created by the DOS Edit and
  451. must have the following structure:
  452.  
  453. Start of body
  454. X-Size
  455. Y-Size
  456. Bit/Pix
  457. Bit/color
  458. Start of colortable  ( optional, just if a colortable included )
  459.  
  460. You may also activate other programs by Batchprocessing. If PV finds a
  461. *.BAT with the name of the extension of the selected file it starts the
  462. Batch automaticaly. You can use it to start eg a HPGL viewer if you have
  463. made the appropriate PLT.BAT file.
  464.  
  465. I will be adding more formats in the future.
  466. If PV has problems with loading a specified image format please send it to me.
  467. There are a lot of programs not listed above that support different file formats.
  468.  
  469.  
  470. 5. Animation, Slide files
  471. ------------------------
  472. PV reads and stores slide files (extension *.SLD). These files contain names
  473. and commands and you can use a text editor to produce or edit them.
  474. If you call them with PV you will see PV loads the files listed in the slide
  475. file one by one until you abort by the ESC key.
  476. Remenber the following instructions:
  477.  
  478. - All image names should not contain path or command line parameters, the
  479.       names must be complete with the extension.
  480. - the maximum count of entries is limited to 256.
  481. - All images must be in the actual path.
  482.  
  483. The slide file could contain some commands:
  484.   D:nnnnn          Delay in ms after each image is loaded
  485.   G:nn             Switch to the Graphic mode number nn (refer to your VGA
  486.            manual). no number activates the textmode.
  487.   X:nn             set the x position. X:   without parameters falls back to
  488.            autocentering.
  489.   Y:nn             set the Y position. Y:   without parameters falls back to
  490.            autocentering.
  491.   C:nn             Clear last image, clearmode nn = 0..99
  492.            0 clears the whole screen, others do just a clear of the
  493.            imagefield in different algorithms.
  494.   S:nnn            Skip to SLD line number nnn
  495.   Q:               Quit SLD after executing once
  496.   T:text           displayes a textunderline
  497.   P:path           Changes to the drive \ path
  498.   A:nn             Activates VGA-Mode detection for the next nn = 0..255 images
  499. eg :   G:$13
  500.        D:0000
  501.        image1.gif
  502.        C:16
  503.        D:2000
  504.        Animat.fli
  505.        G:$12
  506.        image2.lbm
  507.  
  508. Image1 starts followed by Animat.fli. and finally image2. There is then a
  509. delay of 2 sec before image1 is loaded again. Image1 and Animat are shown with
  510. VGA 320x200x256, image.lbm is shown with 640x480x16.
  511. Be sure not to enter more than 32 char per line and 128 lines. In VGA - AUTO
  512. mode PV uses the parameters of the last imagefile listed in the SLD. If this
  513. faults it tries to use the 640x480x256. If you want to activate a appropriate
  514. VGA Mode for a imgae use the A: comand. Use this too if you have a Hicolor VGA
  515. and you want to combine hicolorimages and images <= 256 colors, because PV can
  516. not show this in Hicolor only.
  517.  
  518.  
  519. 6. Configuring the graphic adapter
  520. ----------------------------------
  521. If PV is called without parameters, it tries to find the adapter installed in
  522. your system. If this does not work reliably, you have to call PV with command
  523. line parameters. The parameter that defines the type of adapter must be the
  524. last one:
  525.  
  526. $10000 = ATI,  $20000 = VIDEO7,   $30000 = ET3000,  $40000 = ET4000,
  527. $50000 = PARADISE(WD),  $60000 = TRIDENT8900,  $70000 = AHEADB,
  528. $80000 = CHIP&TECH,  $90000 = OAK,   $A0000 = AHEADA,  $B0000 = EVEREX,
  529. $C0000 = VESA,  $D0000 = Genoa,   $E0000 = NCR,   $F0000 = Realtek.
  530.  
  531. If you don't know your type or if the display does not show correct images,
  532. you can try the parameter $C0000 for VESA. This allows type independent
  533. access if your VGA supports the VESA interface. You might have to load a
  534. TSR utility like VESA.COM from your VGA disk before you start PV.
  535.  
  536. PV automatically supports the following resolutions on VGA's with 512kb/1Mb
  537. Video RAM:
  538.  
  539. -  640x480x256
  540. -  800x600x256
  541. - 1024x768x256/16
  542.  
  543. PV chooses the appropriate resolution but you can also force a resolution by
  544. toggling the 'X' key. The resolution is displayed in the last line of the
  545. menu. If you want to add any other mode you just have to add the function
  546. number to the last parameter (remember it's a HEX code!). You can find it in
  547. your VGA reference manual.
  548.  
  549.  eg    PV /e $10065  or  PV $65       = 1024x768x16 with older ATI Wonder's
  550.        PV $nn6f02                     = VIDEO7 Mode nn
  551.        PV /x /e $30                   = ET4000/3000 1024x768x16
  552. The parameter /e stands for 16 color modes.
  553.  
  554. If PV does not find the mode it tries 360x512x256 for color images or
  555. 720x512x16 for monochrome images.
  556. You can force these modes by adding $f2 or $f3 to the command line.
  557.  
  558. This should run on all VGA's but not on EGA. In this case try PV /x $12 for
  559. 640x480x16, PV /x $10 for 640x350x16, PV /x $13 for 320x200x256, or any
  560. function number listed in the adapter's manual.
  561.  
  562. The parameter /x means that PV uses that mode only if required.
  563. Eg : PV /x $65  - this is for older ATI-Wonders that have the function $65 for
  564. 1024x768x16. The default for PV is $55 for newer ATI Wonders.
  565.  
  566. If PV does not find the $55 mode it then calls $65 from the command line.
  567. Be sure you give a valid function number. Otherwise PV ignores your input,
  568. and automatically switches to conversion mode.
  569.  
  570. - 8514/A, TIGA and XGA are supported if the AI is loaded (HDILOAD, 8514AI,..).
  571. Work stations and graphic adapters with 1MB & TIGA often offer a 8514/A
  572. emulation. If you use it you will have 640x480x256 and 1024x768x256 display
  573. modes. You can select them using the command line parameters $17f or $27f.
  574.  
  575. - 1280x1024x16/256 and 1600x1280x16/256 are provided but not tested yet.
  576. If your adapter supports such resolutions try out the mode by using the
  577. command line parameter. If you use the AI you can try $37f, $47f .. $f7f.
  578.  
  579. - Virtualy PV uses the complete VGA RAM. This means that you can load an image
  580.   into the VGA with more lines than your VGA could display.
  581.  
  582.   You can scroll the image up and down with the Cursor or the mouse.
  583.  
  584.    Mode           VGA       Virtualy usable lines:
  585.    640x480        512Kb     819
  586.    640x480x256    1Mb       1024
  587.    360(720)x512   256Kb     728
  588.    800x600        512Kb     655
  589.    800x600x256    1Mb       1024
  590.    1024x768       512K/1Mb  1024
  591.  
  592.   It depends on the SVGA how many lines can be scrolled. Currently there is
  593.   no limitation for the scroll down function. It is sometimes possible to
  594.   scroll above or below the actual picture information, revealing garbage
  595.   patterns. Ignore these.
  596.   You can attempt to disable this function by PV /s. This may not work on all
  597.   VGA's     eg  8514/A adapters or in hicolor modes.
  598.  
  599. - Truecolor, Hicolor
  600.   ATI Ultra with Mach32 and 2MB are supported in the 'ATI VGA Auto' mode with
  601.   16,8 Mio. and Hicolor (65536) automatically in the following resolutions:
  602.   640x480x24Bit, 800x600x24Bit, 1024x768x16Bit.
  603.  
  604.   VGA's with VESA Hicolor Modes (65536, 32768) currently do not have unique
  605.   function numbers. If you know the number of the function you can use
  606.   it by calling PV with that number (e.g. PV /x $117  with ATI, PV /x $302
  607.   with  Diamond Stealth). If you want to display a RGB image you must select
  608.   with the [X] to 'Use Command line Parameter' before starting the image.
  609.   On cards with Hicolor chips you can try to activate the hicolor, if you
  610.   call  PV /h. But in this mode you just have the half of the resolution in
  611.   the X dimension.
  612.   The ATI MACH64 has a VESA 1.2 compatible BIOS but the readout of its
  613.   fearures lasts extremly long, so please use PV /h $c0000 to specify
  614.   VESA 1.2 compatibiluty without using autodetection.
  615.  
  616.   I will try to improve the hicolor support in the future.
  617.  
  618.  
  619. 7. How to use PV
  620. ----------------
  621. - Commandline parameters:
  622.   PV [Path[Name.ext]] [Destination path] [/c /m /e /p /d] [/x $nn (VGA Mode)]
  623.   if Path[Name.ext] is not a valid file or path it is assumed to be a filemask.
  624.  
  625.   /c = ONLY convert; use if you just want to convert without displaying.
  626.        If you add the conversion type eg  /cj you can specify the file format.
  627.        j : medium compressed JPG , hj : higher compressed JPG , 0 : IMG ,
  628.        1 : TGA , 2 : LBM , h2 : Amiga LBM , 3 : CUT , 4 : GIF , 5 : TIFF ,
  629.        h5 : Motorola TIFF , 6 : SCx , 7 : PCX , 8 : PIC , 9 : BMP , h9 : OS/2 BMP.
  630.  
  631.   /m = monochrome; use if you have for example a monochrome EGA Display. The
  632.        menu and all images are displayed in monochrome. Conversion is also
  633.        done in monochrome. If you want an image handled with colors use the
  634.       'M' key in the menu mode.
  635.  
  636.   /e = 16 color mode; use this in combination with the command line EGA/VGA
  637.        mode to tell PV that this is a mode with not more than 16 colors.
  638.  
  639.   /d = dithering; if your images have more than 16 colors and you have an EGA
  640.        with 16 colors, you should add this parameter. If you do not you will
  641.        be asked whether you want EGA dither or 16 grey steps. EGA's don't have
  642.        a RAM DAC, so EGA's will show a kind of pseudo color instead of 16 grey
  643.        steps.
  644.  
  645.   /p = no color optimising; If images have more than 256 colors PV
  646.        automatically makes a color optimising. This takes a lot of time but
  647.        the result is better. If you want a fast result add  /p.
  648.  
  649.   /x = use the $nn Mode to tell PV to use $nn Mode only if it is required.
  650.        $nn is the number of EGA/VGA/XGA etc Mode and or the Chipset you want
  651.        to adapt. Remember this parameter must always be the last one.
  652.  
  653.   /h = make use of the HiColor chip. Images with more than 256 colors are
  654.        displayed with up to 32768 colors. This works faster and might give
  655.        better results than color optimising. The horizontal resolution is
  656.        decreased and you should not do further processing or save the image
  657.        if an image is displayed with CEG or HiColor activated. The result is
  658.        unuseable.
  659.  
  660.   /s = suppress the virtual line scrolling.
  661.  
  662.   /o = suppress the use of hicolor/truecolor.
  663.  
  664.   /b = some VGA's with truecolor 24 Bit show the red and blue component
  665.        exchanged. Use this to correct this.
  666.  
  667.   /v = suppress the use of 1280x1024 or higher resolution. Use this to protect
  668.        the monitor if it is not able to syncronize that.
  669.  
  670. - Keys during fileselection:
  671.  
  672.   "F1"    Help menu.
  673.   up, down, pgup, pgdn  home, end = select the file or the path you want to
  674.       change to.
  675.   Enter = Start the image to be loaded or open a directory.
  676.       The '..' means the directory below.
  677.   "I"     File info.
  678.   "L"     Change the drive
  679.   "S"     Save all previous displayed image names in the slide file PV.SLD
  680.   "U"     Show image parameter or modify it before next image is loaded.
  681.   "M"     Color/monochrome for next image.
  682.   "Z"     Destination drive and path for saving files.
  683.   "X,+,-" Select the display mode; default is PV detects the right mode,
  684.       but you can also set the command line mode parameter or choose
  685.       between resolutions 640x480, 800x600 or 1024x768.
  686.   "F"     Here you can define the 3x3 filter coefficients for the filter 4.
  687.       You can try out the Filter if you display an image in a 256 color
  688.       VGA mode and type "F" and then "4".
  689.   "O"     Toggle between Convert/Display mode for the next image.
  690.   "D"     Delete the image file.
  691.   "R"     Rename the image file. Please enter the full name incl. extension,
  692.       do not enter paths, wildcards or symbols not allowed for DOS files.
  693.       If you do not want to rename the file just type enter.
  694.   "P"     Color optimising. Images with RGB, (more than 256 simultaneous
  695.       colors), can be displayed with optimised VGA colors or a standard
  696.       VGA color set with R3G3B2.
  697.       Optimisation takes more time but the result is better. If your
  698.       VGA supports Hi/Truecolor at the current selected resolution, it
  699.       is possible to select this mode too.
  700.   "Y"     Filetype. You can select a file mask to reduce the number of files
  701.       to a set of files you are interested in. All DOS wildcards allowed.
  702.       Eg    *.* , *.gif , test????.??? , etc.
  703.   "G"     generate a overview gallery with Icons (128x96) of all pictures in
  704.       the current path. You then can select or mark the files and start
  705.       to display pictures.
  706.       - cursors to select and PGUP/PGDN to scroll
  707.       - "T" to mark single pictures
  708.       - ENTER to display the selected or marked pictures
  709.       - Esc to switch back to menu
  710.       You can specify a path where PV can store the Icons. If you define
  711.       SET PVICONS=drive/path  in your AUTOXEC.BAT  PV stores them in the
  712.       appropiate path to have a fast access to them.
  713.  
  714. - Keys when a image is displayed:
  715.   (With hicolor, truecolor, or CEG, the functions are presently limited).
  716.  
  717.   Colormetric operations:
  718.    "Home, End"   Increase, decrease intensity.
  719.    "PgUp, PgDn"  Modify contrast.
  720.    "F9, F10"     Modify color saturation. You can double the saturation or
  721.          reduce it to a greyscale image and you can invert the
  722.          the saturation.
  723.    "DEL"     Restore the original colors.
  724.    "R,G,B"   All the above operations normally work on all color components
  725.          red, green and blue. If you want to control the red component
  726.          and leave the others unchanged type "R" before it. The same
  727.          applies for green "G" or blue "B".
  728.   "<Space>"  Perform the modifications for all color components (default).
  729.    "I"       Invert the intensity.
  730.    "M"       Permanently convert to monochrome
  731.    "C"       Color cycling.
  732.  
  733.   Geometric operations:
  734.    "Cursors" scroll the image if exeeding the VGA windows.
  735.    "*X,/X"   Reduce/zoom X dimension in divisions of 2.
  736.    "*Y,/Y"   Reduce/zoom Y dimension in divisions of 2.
  737.    "*Z,/Z"   Reduce/zoom in divisions of 2.
  738.    "+,-"     Switch between the VGA resolutions.
  739.    "U"       Reload the image (Undo function).
  740.    "D"       Greylevel dither in different resolutions. D4 does a dither
  741.          to reduce 256 greyshades to 16 greyshades. With this you may
  742.          achieve better results if you want to print it, for example,
  743.          with Word, Windows, etc.
  744.          D1 does a Dither to pure black and white.
  745.    "F"       3x3 Greylevel filters. You have 7 filters predefined with
  746.          a hipass (sharpen), a lowpass (smoothing), relief (contour),
  747.          Laplacian eg deextractor, erosion, median, dilation.
  748.          You can define your own filter by overwriting the coefficients
  749.          of the Laplacian filter (4). To do this you must return to the
  750.          File selection menu and type "F".
  751.    "T"       Transformations "X,Y" flip and "R" rotate 90 deg. If you want
  752.          a 180 deg rotation, it is better to use "TX" and "TY" than
  753.          two "TR". Be sure you have a high resolution display mode eg
  754.          640x480 to rotate a 320x200 area.
  755.    "W"       With this you can define a ROI (region of interest).
  756.          All geometric functions and the saving of images work on the
  757.          defined ROI. The default ROI is the basic image dimensions.
  758.          "Q"        sets the ROI to 512x512
  759.          "F"        sets the ROI to the screen dimensions
  760.          "S"        sets the ROI to the last size/position
  761.          "Enter"    toggles between size and move (also right mouse
  762.             button)
  763.          "Cursor"   move the ROI or modify the size. This is better done
  764.             by using the mouse.
  765.          "Space"    restores the original size.
  766.          "Esc"      accept the ROI and quit (also left mouse button).
  767.  
  768.    "K"       This is a pixelpicker. It shows the values of the intensities
  769.          at any position.
  770.  
  771.   Saving the image:
  772.    "F1"      shows an overview of the possible File formats and functions.
  773.    "1..9"    Save the displayed image within the actual ROI in a file.
  774.          Remember what you see is what you get. If you want to convert an
  775.          image it is better to do it by converting it without actually
  776.          displaying the image.
  777.  
  778.   Printing images:
  779.    "P"       Print to a HP DJ 500 C.
  780.  
  781.   For animation:
  782.    "A"       Do a slideshow of all previous displayed images in the current
  783.          path.
  784.    "S"       Store the slideshow in a file PV.SLD.
  785.  
  786. - Tips for Conversion/Display:
  787.  
  788. Images with more than 16 Color are displayed monochrome on 16 color VGA modes.
  789. When the image is displayed you can modify brightnes, contrast, saturation and
  790. size. But if you store the result in one of the file formats 1..9, image size
  791. and colors are limited to the display capabilities of your VGA. For conversion
  792. WITHOUT display, the max. image size is 10240x10240x256. The conversion is
  793. done with a tempfile. Be sure you have enough space, for example you need up
  794. to 1.5Mb for the temporary file with a 800x600 24Bps image, and additionaly up
  795. to 480Kb for the destination.  'SET TEMP=DRIVE:\PATH' in the autoexec.bat
  796. defines the temporary file drive.
  797.  
  798.  
  799. 8. Installation, Registration
  800. -----------------------------
  801. The registered version shows the name of the user when you quit.
  802. The Shareware version shows a message both within PV and when you quit.
  803.     It is forbidden to use the program for commercial purposes without
  804.     registration.
  805.  
  806. Your decision to register will encourage me to continue enhancing PV. I
  807. believe it already compares more than favorably with programs like Graphic
  808. Workshop, VPIC, PICEM, etc. PV displays many image formats that cannot be
  809. handled by any other image viewer.
  810. Registered users receive detailed information about PV, how to expand the
  811. use of their VGA's, and image compression possibilities, etc, etc.
  812. Please advise if you wish to have special functions or image formats added.
  813. Registered users receive one free update.
  814.  
  815.                               US
  816.    PV Register and no further support   [ ]  DM60,-     $45.00
  817.  
  818.    PV Register incl. one update         [ ]  DM100,-    $69.00
  819.    and further Updates                  [ ]  DM15,-     $10.00
  820.  
  821.    Shipping outside Germany                             $5.00
  822.  
  823.    PV multi licences          5..       [ ]  DM50,-     $30.00  each
  824.                  10..       [ ]  DM40,-     $25.00  each
  825.    PV multi licences         50..       [ ]  DM20,-     $12.50  each
  826.  
  827.  
  828.    Information and special wishes depend on the amount.
  829.  
  830. - Select the disk type and whether you want a German, English or french
  831.   version. (coming soon netherland and may be italian).
  832. - For destinations within Germany, please include a stamped addressed
  833.   envelope. For other countries, please supply a self adhesive address label.
  834. - Address all mail to:
  835.  
  836.    Wolfgang Wiedmann
  837.    Rechbergweg 4
  838.    D7087 Essingen
  839.    Germany
  840.    0(049)7365-1419 (after 17 European time or on weekend)
  841.  
  842. - You can get the latest shareware version at the Ultraforce BBS :
  843.  
  844.   Line 1   : 0(049)7361-44117
  845.   Line 2   : 0(049)7361-45309
  846.   Login    : Gast
  847.   Password : Gast
  848.  
  849.   FidoNet 2:2487/3108 (Magic PV)
  850.  
  851.  
  852. 9. Trademarks , Disclaimer
  853.  
  854. All other products or services mentioned, including:
  855. Western Digital, MS-DOS, Silicon Graphics, FLIC, PCX, TIFF, AI, HAM, BMP, DIB,
  856. IBM, Macintosh, Pagemaker, Designer, Photostyler, Targa, Paintbrush, PcPaint,
  857. Pictor, Colorix, Winrix, RIX, Dr Halo, Halovision, Deluxe Paint, Commodore,
  858. Autodesk, VPIC, VGIF, CSHOW, GWS, Windows, OS/2, Edsun Continuous Edge
  859. Graphics, GEM, Ventura Publisher, MS-Paint, Word Perfect, A4TECH, SIS,
  860. Encapsulated Postscript, Sun, UNIX, Fricke, Sreenmachine, FAST-Electronik,
  861. Kontron, Zeiss, GRASP, Turbo Pascal, AT, EGA, VGA, SuperVGA, 8514/A, ATI,
  862. Paradise, Ahead, Video7-, OAK, Chip&Technology, ET3000/4000, Trident8900,
  863. VESA, Tiga, XGA, CEG, HiColor, JPG2GIF, GIF2JPG, Handmade Software, HSI,
  864. GIF87a, GIF89a, CompuServe, Atari, Huffman, LZW, PICIO, SGI, Image Alchemy,
  865. VTCOMPRESS, Stemmer, HDILOAD, ATI Wonder, Everex, Kodak, Corel.. are trademarks,
  866. registered trademarks, or service marks of their respective companies or
  867. organizations.
  868.  
  869. I offer no warranty of any kind, either expressed or implied, including
  870. but not limited to implied warranties of merchantability and fitness for a
  871. particular purpose.
  872.  
  873. I am not liable for any errors contained herein or for incidental or
  874. consequential damages in connection with the furnishing, performance, or use
  875. of the PV.EXE product or documentation.
  876.  
  877. Before delivery, each disc is scanned for viruses.
  878.